package com.itheima.spring;

import org.springframework.context.ApplicationEvent;
import org.springframework.context.ApplicationListener;

/**
 * @program: design
 * @description:
 * @author: zhanghz001
 * @create: 2020-11-26 15:50
 **/
public class ApplicationEventListener implements ApplicationListener<ApplicationEvent> {
    @Override
    public void onApplicationEvent(ApplicationEvent applicationEvent) {
        System.out.println("事件对象 : " +
                applicationEvent.getClass().getName());
    }
}
